class LocationUtils {
  /// 获取定位类型文字
  static String getLocationTypeText(int? locationType) {
    if (locationType == null) {
      return '';
    }
    if (locationType == 1) {
      return 'GPS定位';
    } else if (locationType == 2) {
      return 'WIFI定位';
    } else if (locationType == 3) {
      return '基站定位';
    }
    return '未知';
  }
}
